package cn.littlehx.simple_score_manage.common;

import org.springframework.util.DigestUtils;

import java.nio.charset.StandardCharsets;

public class MyUtils {
    public static String encode(String password){
        return DigestUtils.md5DigestAsHex(password.getBytes(StandardCharsets.UTF_8));
    }
}
